package com.car.alliance.view

import android.graphics.Color
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.andrefrsousa.superbottomsheet.SuperBottomSheetFragment
import com.car.alliance.R

/**
 * Created by Android Studio.
 * User: wsl
 * Date: 3/17/21
 * Time: 5:22 PM
 * Description:
 */

class Bottomfragment : SuperBottomSheetFragment() {

    override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
        super.onCreateView(inflater, container, savedInstanceState)
        return inflater.inflate(R.layout.fragment_demo_sheet, container, false)
    }

    override fun getCornerRadius() = context!!.resources.getDimension(R.dimen.dp_16)

    override fun getStatusBarColor() = Color.RED
}
